package com.venusj.springcloud.controller;

import com.venusj.springcloud.result.CommonResult;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created By Administrator
 * User: VenusZ
 * Date: on 2020/3/22 20:28
 * Desc:
 */
@RestController
@RequestMapping("/test")
public class TestController {
    @GetMapping("/eureka")
    public CommonResult testEureka() {
        return new CommonResult(200, "测试eureka是否可以访问", "连接成功");
    }
}
